{extend name="layout/base" /}
<!-- 标题 -->
{block name="title"}{$column['column_name']}{/block}
<!-- CSS -->
{block name="css"}{/block}
<!-- 具体内容 -->
{block name="content"}
<h2 class="header-dividing">{$column['column_name']} <small>{$column['column_enname']}</small></h2>
<form class="form-horizontal" id="form-page-submit" method="post" action="{:url('/wspage/update')}">
<input type="hidden" name="column_id" value="{$column['column_id']}">
<div class="panel">
    <div class="panel-body tab-content">
        <fieldset class="tab-pane active" id="Content1">
            <legend class="mb10">详细内容</legend>
            <div class="form-group">
                <div class="col-md-12"><script id="column_details" name="column_details" type="text/plain">{$column['column_details']|raw}</script></div>
            </div>
        </fieldset>
        <hr class="mt0">
        <div class="from-group">
            <div class="col-md-12 text-center">
                <button type="submit" class="btn btn-primary btn-lg pl30 pr30">保存信息</button>
            </div>
        </div>        
    </div>
</div>
</form>
{/block}


<!-- JS -->
{block name="js"}
    {load href="/static/lib/jquery/jquery.form.js"}
    {load href="/static/lib/validator/validator.min.js"}
    {load href="/static/ueditor/ueditor.config.js"}
    {load href="/static/ueditor/ueditor.all.min.js"}
    {load href="/static/ueditor/lang/zh-cn/zh-cn.js"}
{/block}
{block name="jscode"}
<script type="text/javascript">
$(document).ready(function() {
    // tinymce 编辑器
    // tinymce.init(tinymce_default_options);
    var ue = UE.getEditor('column_details');
});
</script>
{/block}